/*
 * Copyright (C) 2010-2011 Comcast Cable.  All Rights Reserved.
 */
package com.hercules.android.receiver.connection;

/**
 * <p>
 * This interface defines the contract for implementations that will handle an exception.
 * </p>
 * <p>
 * The concrete details are up to the implementations.
 * </p>
 * <p>
 * AndroidAssembly1 this class was renamed
 * <p>
 * <strong> Thread safety:</strong> Implementations are required to be thread safe.
 * </p>
 *
 * @author DanLazar, morehappiness
 * @author 7realm
 * @version 1.0
 */
public interface ConnectionErrorHandler {
    /**
     * Handles the given exception.
     *
     * @param exception the exception to be handled
     */
    void handleException(Exception exception);
}
